package com.lovegu.object.middle;

/**
 * @author 老顾
 * @title: Wolf
 * @projectName java-restudy
 * @email: 1437594522@qq.com
 * @date 2022/9/21 8:54
 */
public class Wolf extends Animal{
    public Wolf(String name) {
        super(name);
    }

    public Wolf(String name, int age) {
        super(name, age);
    }
    public Wolf() {
        super("灰太狼", 3);
        System.out.println("Wolf无参数的构造器");
    }
    public static void main(String[] args) {
        new Wolf();
    }
}
